package com.newsReader.article.model;

import java.util.List;

import com.eova.common.base.BaseModel;

public class User extends BaseModel<User>{
	
	private static final long serialVersionUID = 1L;
	
	public static final User dao = new User();
	
	/*
	 * 查询用户是否存在
	 */
	public List<User> UserDetail(String nickName) {
		StringBuffer sql = new StringBuffer();
		sql.append("SELECT id,openId,nickName,headImgUrl,sex,address,status,leable,remark,createTime FROM c_user where nickName=?");
		return this.find(sql.toString(),nickName);
	}

}
